Add gtk_widget_set_font_options and gtk_widget_get_font_options
authorArc Riley <arcriley@gmail.com>
Tue, 30 Jun 2015 17:57:49 +0000 (10:57 -0700)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 1 Jul 2015 14:34:32 +0000 (07:34 -0700)
commit15c73a2b1aae5be740efa19b3d20f9e6a26f8970
tree68c7301d89a86b3dd3e7dbefc986ad95219c4a79
parent9913b02e3bf81fe620a750c15fbcd2f154e53e4d
Add gtk_widget_set_font_options and gtk_widget_get_font_options

This allows a widget to override global font_options, such as hinting and
subpixel order. The widget's PangoContext is updated when this is set.

Some update code from gtk_widget_update_pango_context was moved to
update_pango_context so that gtk_widget_update_pango_context runs it.

http://bugzilla.gnome.org/show_bug.cgi?id=751677
docs/reference/gtk/gtk3-sections.txt
gtk/gtkwidget.c
gtk/gtkwidget.h